#ifndef _JOBTEST_H_
#define _JOBTEST_H_

#include <cppunit/Test.h>
#include <cppunit/TestAssert.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestFixture.h>
#include <cppunit/TestSuite.h>
#include <cppunit/Exception.h>
#include <cppunit/extensions/HelperMacros.h>

#include <cstdlib>

#include "job.h"


class JobTest : public CppUnit::TestFixture {

	CPPUNIT_TEST_SUITE( JobTest );
	CPPUNIT_TEST(testAddTask);	      
   	CPPUNIT_TEST(testReplicate);
   	CPPUNIT_TEST(testResetTasks);	     
   	CPPUNIT_TEST(testGetTaskByName);
	CPPUNIT_TEST_SUITE_END();
	

	private:
		Job *job1;
		Job *job2;		
	public:
		void setUp(); 
		
		/*Test Cases*/
		void testAddTask();
		void testReplicate();
		void testResetTasks();
		void testGetTaskByName();
		/////////////
		
		void tearDown();

	
};

#endif //_JOBTEST_H_
